<%-- 
    Document   : add
    Created on : 2014-7-29, 16:33:43
    Author     : coolwind
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="sf" uri="http://www.springframework.org/tags/form" %>
<%--
<html lang="zh-CN">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta name="description" content="">
        <meta name="author" content="">
        <link href="<c:url value="/js/libs/twitter-bootstrap/css/bootstrap.min.css"/>" rel="stylesheet"/>
        <link href="<c:url value="/common/css/common.css"/>" rel="stylesheet"/>
        <link href="<c:url value="/common/css/create-blog.css"/>" rel="stylesheet"/>
        <script type="text/javascript" src="<c:url value="/js/libs/jquery/jquery.min.js"/>"></script>
        <script type="text/javascript" src="<c:url value="/js/libs/twitter-bootstrap/js/bootstrap.min.js"/>"></script>
        <script type="text/javascript" src="<c:url value="/third-part/ueditor/ueditor.config.js"/>"></script>
        <script type="text/javascript" src="<c:url value="/third-part/ueditor/ueditor.all.min.js"/>"></script>
        <script type="text/javascript" src="<c:url value="/third-part/ueditor/lang/zh-cn/zh-cn.js"/>"></script>
    </head>
    <body>
        <c:import url="/common/header"/>
--%>
<div class="cblog-content">
    <script type="text/javascript" src="<c:url value="/third-part/ueditor/ueditor.config.js"/>"></script>
    <script type="text/javascript" src="<c:url value="/third-part/ueditor/ueditor.all.min.js"/>"></script>
    <script type="text/javascript" src="<c:url value="/third-part/ueditor/lang/zh-cn/zh-cn.js"/>"></script>
    <sf:form commandName="blogCommand" cssClass="form-group">
        <div class="cblog-head">
            <sf:input path="blogTitle" placeholder="请输入标题" required="true" cssClass="form-control cblog-input"/>
            <br>
            <sf:select path="blogTag" cssClass="form-control cblog-input">
                <sf:options items="${tagList}" itemValue="tagId" itemLabel="tagName" />
            </sf:select>
        </div>
        <br>
        <div class="cblog-body">
            <script id="container" name="blogContent" type="text/plain " height="400px" class="cblog-text"></script>
        </div>
        <div style="clear:both"></div>
        <div class="cblog-footer">
            <div class="btn-box">
                <input class="btn btn-create" type="submit" value="提交"/>
                <input class="btn btn-create" type="reset" value="重置"/>
            </div>
        </div>
    </sf:form>
    <script type="text/javascript">
        var ue = UE.getEditor('container');
    </script>
</div>
<%--
</body>
</html>
--%>

